Exporting graphics

Hi--I'm pretty inexperienced when it comes to DXL. I've written a little script that exports DOORS objects as RTF (to Python). The python script then does particular processing and ends up writing info into some Word tables. Part of the desire here is to write the original DOORS object text into one of the cells (including any graphics). This all works fine except the graphics objects (typically screen captures snips) don't show up in the RTF. I see some sort of RTF tag where the graphic would appear in the RTF. Is there a simple way to just cut and paste the entire DOORS content? I'd like to maintain it as RTF as that's how my Word interface works. I did see the DXL manual talks about handling OLE objects, but it wasn't clear how to do what I'd like.

Can someone point me in the right direction please? Unfortunately, the DOORS exporter in VBA is locked so I can't look to that code for ideas. I'd like to essentially do what that exporter does.

Thanks

Al

 


AlHuneke - Sun Mar 19 16:41:08 EDT 2017

Re: Exporting graphics
kourosh - Mon Mar 20 16:43:01 EDT 2017

Try posting in the DXL forum:

https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000001527

Re: Exporting graphics
AlHuneke - Tue Mar 21 11:04:07 EDT 2017

Thanks for the redirection kourosh, but I think using richTextWithOle will work. Trying that today. If I still have issues, I'll repost in the proper forum.